const Twilio = require('twilio')
const {
  TWILIO_ACCOUNT_SID,
  TWILIO_AUTH_TOKEN,
} = require('../../config')

const client = new Twilio(TWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN)

// client.messages.create({
//     body: 'Hello from Node',
//     to: '+12345678901',  // Text this number
//     from: '+12345678901' // From a valid Twilio number
// })
// .then((message) => console.log(message.sid));

module.export = client
